<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
<TITLE>测试页</TITLE>
</HEAD>
<BODY >
<input type="button" id="Button2" style="width:120px;height:30px;font-size:13px"   name="Button1"   value="测试OCX函数"   onClick="btn1Click();">
<br>
<script>         
	function btn1Click(){
		var GetMacAddr = document.getElementById("PMActiveX");
		var macaddr = GetMacAddr.GetMacAddress();
		alert(macaddr);
	}

</script>
</BODY>
<OBJECT ID="PMActiveX" CLASSID="CLSID:b1573aca-a582-4268-8509-0a5cc4df665e" width= "0" height="0">
</OBJECT>
</HTML>